package lambda;

/**
 * @author by 何坤
 * @Classname AppleGreenColorPredicate
 * @Description TODO
 * @Date 2019/10/11 15:26
 */
public class AppleGreenColorPredicate implements ApplePredicate {

    @Override
    public boolean test(Apple apple) {
        return "green".equals(apple.getColor());
    }
}
